checkFlagsArgument

open fun checkFlagsArgument(requestedFlags: Int, allowedFlags: Int): Int(source)

Check the requested flags, throwing if any requested flags are outside the allowed set.

Return

the validated requested flags.